package com.hrzyit.base.injection.module

import android.app.Activity
import com.hrzyit.base.injection.ActivityScope
import dagger.Module
import dagger.Provides

/**
 * Activity 级别 Module
 * @author YangWei
 * @date 2019/3/10
 */
@Module
class ActivityModule(private val activity:Activity) {

    @ActivityScope
    @Provides
    fun provideActivity():Activity {
        return this.activity
    }
}